runtime.p.status (field)
35 uses
runtime (current package)
mgc.go#L1204: if pp.status == _Pidle {
mgcpacer.go#L720: if p.status != _Prunning {
preempt.go#L288: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1557: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1563: s := pp.status
proc.go#L1564: if s == _Psyscall && atomic.Cas(&pp.status, s, _Pgcstop) {
proc.go#L1584: pp.status = _Pgcstop
proc.go#L1621: if pp.status != _Pgcstop {
proc.go#L2066: s := p2.status
proc.go#L2071: if s == _Psyscall && p2.runSafePointFn == 1 && atomic.Cas(&p2.status, s, _Pidle) {
proc.go#L3037: pp.status = _Pgcstop
proc.go#L3190: pp.status = _Pgcstop
proc.go#L4457: atomic.Store(&pp.status, _Psyscall)
proc.go#L4504: if sched.stopwait > 0 && atomic.Cas(&pp.status, _Psyscall, _Pgcstop) {
proc.go#L4712: if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
proc.go#L5568: pp.status = _Pgcstop
proc.go#L5673: pp.status = _Pdead
proc.go#L5751: gp.m.p.ptr().status = _Prunning
proc.go#L5774: pp.status = _Pidle
proc.go#L5808: pp.status = _Pidle
proc.go#L5866: if pp.m != 0 || pp.status != _Pidle {
proc.go#L5874: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L5880: pp.status = _Prunning
proc.go#L5901: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L5902: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L5907: pp.status = _Pidle
proc.go#L6218: s := pp.status
proc.go#L6258: if atomic.Cas(&pp.status, s, _Pidle) {
proc.go#L6285: if pp.status != _Prunning {
proc.go#L6353: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L6896: if pp.status == _Prunning {
runtime2.go#L652: status uint32 // one of pidle/prunning/...
tracestatus.go#L79: switch pp.status {
tracestatus.go#L82: if pp.status == _Pgcstop && inSTW {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |